# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Laszlo Papp <djszapi @ gmail at com>
# Contributor: Dmitry ixaphire_at-gmail-dot+com

pkgname=vim-jad
pkgver=1.3_1329
pkgrel=4
pkgdesc='Automatically decompile Java class files and display Java code'
arch=(any)
url='https://www.vim.org/scripts/script.php?script_id=446'
license=('custom')
depends=(vim jad)
groups=(vim-plugins)
install=$pkgname.install
source=("$pkgname::http://www.vim.org/scripts/download_script.php?src_id=${pkgver#*_}"
        LICENSE)
sha256sums=('26a11cb99945c44e817ac39243246be906f160fdfc850a33511005079b48c7ad'
            '4689a6d3ed3bca186ab8fea8360f32fdbb84f84c82fb21698390202efa7b7d19')

package() {
  install -Dm644 $pkgname "$pkgdir/usr/share/vim/vimfiles/plugin/jad.vim"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim: ts=2 sw=2 et:
